#ifndef TSAEDITOR_H
#define TSAEDITOR_H
#include <windows.h>
class cTSAEditorClass{
public:
     cTSAEditorClass();
	 ~cTSAEditorClass();
	 tBlock  CurrentBlock[4];
	 tTSA    blockset;
	
	 HWND TilesetPic;

	 HWND Preview;
	 HWND tMain;
	 Image Tileset;
	 Image iPreview;
	 Image thisTSA;
	 sChecks HorChk[4];
	 sChecks VerChk[4];
	 sCombo cboPals[4];
	 int Create();
	 int DrawThisTileset();
	 int DrawPreview();

	 int LoadTSA();
	 int CreateTilesetWind();
	 int CreatePreviewWind();

	 int curtsa;
	 int SaveBlock();

};   
#endif